/**
 * Created on Sat Mar 12 15:20:50 CST 2011
 * Copyright SinoBest, 2010-2011, All rights reserved.
 */package cn.com.test.service;

import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Map;

import org.apache.log4j.Logger;
import org.springframework.context.ApplicationContext;


import cn.com.test.dao.Reply;
import cn.com.test.dao.ReplyDAO;
import cn.com.test.daox.ReplyDAOx;

/**
 * @Author zhou
 * @Date Sat Mar 12 15:20:50 CST 2011
 * @to-do 
 */public class ReplyService  {
	
	private static final Logger log = Logger.getLogger(ReplyService.class);
	
	private ReplyDAOx replyDAOx;
	
	public void setReplyDAOx(ReplyDAOx replyDAOx) {
		this.replyDAOx = replyDAOx;
	}
	
	public ReplyDAOx getReplyDAOx() {
		return replyDAOx;
	}
	
	public static ReplyService getInstance(ApplicationContext ctx) {
		return (ReplyService) ctx.getBean("ReplyService");
	}
}